/**
 * @file predefine-macro.c
 * @author StudentWeis studentweis@gmail.com
 * @brief C 语言预定义宏的使用
 *      - 使用 GCC
 * @version 0.1
 * @date 2021-12-06
 * 
 * @copyright Copyright (c) 2021
 * 
 */

#include <stdio.h>

int main(void)
{
    printf("Start Line: %d\r\n", __LINE__);
    printf("File: %s\r\n", __FILE__);
    printf("Date: %s\r\n", __DATE__);
    printf("Time: %s\r\n", __TIME__);
    printf("ISO?: %d\r\n", __STDC__);
    printf("ISO Version: %d\r\n", __STDC_VERSION__);
    printf("ISO Hosted?: %d\r\n", __STDC_HOSTED__);
    printf("IEC 559?: %d\r\n", __GCC_IEC_559);
    printf("IEC 559 Complex?: %d\r\n", __GCC_IEC_559_COMPLEX);
    printf("End Line: %d\r\n", __LINE__);
}